package com.ruoyi.system.mapper;

import java.util.List;

import com.ruoyi.system.domain.CmsBuyCredits;

/**
 * 比特币充值凭证Mapper接口
 *
 * @author ruoyi
 * @date 2025-04-15
 */
public interface CmsBuyCreditsMapper {
    /**
     * 查询比特币充值凭证
     *
     * @param id 比特币充值凭证主键
     * @return 比特币充值凭证
     */
    public CmsBuyCredits selectCmsBuyCreditsById(Long id);

    /**
     * 查询比特币充值凭证列表
     *
     * @param cmsBuyCredits 比特币充值凭证
     * @return 比特币充值凭证集合
     */
    public List<CmsBuyCredits> selectCmsBuyCreditsList(CmsBuyCredits cmsBuyCredits);

    /**
     * 新增比特币充值凭证
     *
     * @param cmsBuyCredits 比特币充值凭证
     * @return 结果
     */
    public int insertCmsBuyCredits(CmsBuyCredits cmsBuyCredits);

    /**
     * 修改比特币充值凭证
     *
     * @param cmsBuyCredits 比特币充值凭证
     * @return 结果
     */
    public int updateCmsBuyCredits(CmsBuyCredits cmsBuyCredits);

    /**
     * 删除比特币充值凭证
     *
     * @param id 比特币充值凭证主键
     * @return 结果
     */
    public int deleteCmsBuyCreditsById(Long id);

    /**
     * 批量删除比特币充值凭证
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCmsBuyCreditsByIds(Long[] ids);
}
